%h2 Sign up

=  error_messages_for :user

- tpl_form_for(:user, @user, :url => users_path) do |f|
  %p
    = f.text_field(:login,:label => 'Login')
  %p
    = f.text_field(:email, :label => 'Email')
  %p
    = f.password_field(:password, :label => 'Password')
  %p
    = f.password_field(:password_confirmation, :label => 'Confirm Password')
  %p
    = submit_tag("Sign up")

